<admintpl file="header" />
</head>
<body class="J_scroll_fixed">
		<div class="wrap jj">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Ptb/setPtb')}">平台币发放</a></li>
			<li class="active"><a href="#">平台币发放确认</a></li>
		</ul>
		
		<div class="common-form">
			<form method="post" class="form-horizontal js-ajax-form" action="{:U('Ptb/setPtb_post')}">
				<fieldset>
					<div class="control-group">
						<label class="control-label">账号类型:</label>
						<div class="controls">
						<if condition="$takeclass eq 1">
							<input type="radio" id="takeclass" name="takeclass" value="1"   checked="checked"/><span>代理商</span>
						<else />
							<input type="radio" id="takeclass" name="takeclass" value="2"  checked="checked"/><span>充值玩家</span>
						</if>
						</div>
					</div>
					
					<div class="control-group">
						<label class="control-label">充值账号:</label>
						<div class="controls">
							<input type="text" class="input" name="username" readonly="readonly" id="username" value="{$username}">
						</div>
					</div>
					<div class="control-group">
						<label class="control-label">已有{$ptbname}数量:</label>
						<div class="controls">
							<input type="text" class="input" name="oldptb" id="oldptb" style="color:blue;" value="{$oldptb}" readonly="readonly" >
						</div>
					</div>
					<div class="control-group">
						<label class="control-label">充值{$ptbname}数量:</label>
						<div class="controls">
							<input type="text" class="input" name="newptb" value="{$newptb}" readonly="readonly" autocomplete="off">
						</div>
					</div>
					<div class="control-group">
						<label class="control-label">充值金额:</label>
						<div class="controls">
							<input type="text" class="input" name="amount" value="{$amount}" readonly="readonly" autocomplete="off">
						</div>
					</div>
					
					<div class="control-group">
						<label class="control-label">折扣:</label>
						<div class="controls">
							<input type="text" class="input" name="discount" value="{$amount*10/$newptb}" readonly="readonly" autocomplete="off">
						</div>
					</div>
					
					<div class="control-group">
						<label class="control-label">备注:</label>
						<div class="controls">
							<input type="text" class="input" name="beizhu" value="{$beizhu}" readonly="readonly" autocomplete="off">
						</div>
					</div>
					<div class="control-group">
						<label class="control-label">请填写二级密码:</label>
						<div class="controls">
							<input type="password" class="input" name="password" value="" autocomplete="off">
						</div>
					</div>
					
				</fieldset>
				<div class="form-actions">
					<input name="action" type="hidden" value="add">
					<button type="submit" class="btn btn-primary btn_submit js-ajax-submit">发放</button>
				</div>
			</form>
		</div>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>